package lesson.myinput;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class MyInputDemo3 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("Day11\\src\\homework\\test8\\c.txt");
        FileOutputStream fos = new FileOutputStream("Day12\\src\\lesson\\myinput\\c.txt");

        byte [] b = new byte[1024];
        int len;
        while((len = fis.read(b)) != -1){
            fos.write(b,0,len);
        }

        fis.close();
        fos.close();
    }
}
